package io.characterStream.fileRorW;

import java.io.FileWriter;
import java.io.IOException;

public class FileWriter1 {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("E:\\A.txt", true);
        char[] chs = {'b','c','d','e','f'};

        fw.write('a');
        fw.write(chs);
        fw.write(chs,0,3);
        fw.write("哈哈哈哈",0,4);
        fw.close();
    }
}
